package com.ruoyi.his.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 限制级药品目录对象 his_restricted_drug
 * 
 * @author Alan
 * @date 2024-03-09
 */
public class HisRestrictedDrug
{
    private static final long serialVersionUID = 1L;

    /** 药品ID */
    private Long id;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String name;

    /** 药品白名单 */
    @Excel(name = "药品白名单")
    private String whitelist;

    /** 药品黑名单 */
    @Excel(name = "药品黑名单")
    private String blacklist;

    /** 0: 非限制使用级1:限制使用级;2:特殊使用级 */
    @Excel(name = "0: 非限制使用级1:限制使用级;2:特殊使用级")
    private Integer level;

    /** 抗菌药物版本 */
    @Excel(name = "抗菌药物版本")
    private Long version;

    /** 药品类型：1-抗菌药物  2-精麻药品 */
    @Excel(name = "药品类型：1-抗菌药物  2-精麻药品")
    private Long type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setWhitelist(String whitelist) 
    {
        this.whitelist = whitelist;
    }

    public String getWhitelist() 
    {
        return whitelist;
    }
    public void setBlacklist(String blacklist) 
    {
        this.blacklist = blacklist;
    }

    public String getBlacklist() 
    {
        return blacklist;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("whitelist", getWhitelist())
            .append("blacklist", getBlacklist())
            .append("level", getLevel())
            .append("version", getVersion())
            .append("type", getType())
            .toString();
    }
}
